package com.groupwork.resourcemonitormodel.domain.userServer;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 权限角色关系表
 * @TableName permission_role_relation
 */
@TableName(value ="permission_role_relation")
@Data
public class PermissionRoleRelation implements Serializable {
    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 权限id
     */
    private Long permissionId;

    /**
     * 角色id
     */
    private Long roleId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}